/*
 * Copyright (c)  2015~2020, xforceplus
 * All rights reserved.
 * Project:datacare-orm
 * Id: TextFunction.java   2020-10-04 22-55-33
 * Author: Evan
 */
package cn.datacare.orm.engine.function;


import org.beetl.core.Context;
import org.beetl.core.Function;

/**
 * <p>
 * Title: TextFunction
 * </p>
 * <p>
 * Description: TextFunction
 * </p>
 * <p>
 * Copyright: 2015~2020
 * </p>
 * <p>
 * Company/Department: xforceplus
 * </p>
 *
 * @author Evan
 * <b>Creation Time:</b> 2020-10-04 22-55-33
 * @since V1.0
 */
public class TextFunction implements Function {

    /**
     * @param params beetl传递的参数
     * @param ctx
     * @return
     */
    @Override
    public Object call(Object[] params, Context ctx) {
        return params[0];
    }
}
